import Vue from 'vue'
import Router from 'vue-router'
import Home from "../view/Home.vue";
import Emp from "../view/Emp.vue";

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: '主页面',
      component: Home,
      children:[
        {
          path:'/emp',
          component:Emp
        }
      ]
    }
  ]
})
